package org.example.nio2.handler;

import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerContext;
import org.example.nio2.vo.MsgResponse;

/**
 * @author liyishan
 * @date 2023/11/13 15:45
 * @apiNote
 */

public class MsgResponseHandler extends BaseHandler<MsgResponse>{

    @Override
    protected void session(ChannelHandlerContext ctx, Channel channel, MsgResponse request) {
        System.out.println("收到消息：" + request.getMsg());
    }
}
